﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Star.Tools.Files
{
    [Serializable]
    public class FileItem
    {

       

        #region 公有属性
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        { get; set; }


        /// <summary>
        /// 文件或目录的完整目录
        /// </summary>
        public string FullName
        { get; set; }


        /// <summary>
        ///  创建时间
        /// </summary>
        public DateTime CreationDate { get; set; }

        public bool IsFolder
        { get; set; }


        /// <summary>
        /// 文件大小
        /// </summary>
        public long Size
        { get; set; }

        /// <summary>
        /// 上次访问时间
        /// </summary>
        public DateTime LastAccessDate
        { get; set; }


        /// <summary>
        /// 上次读写时间
        /// </summary>
        public DateTime LastWriteDate
        { get; set; }


        /// <summary>
        /// 文件个数
        /// </summary>
        public int FileCount
        { get; set; }


        /// <summary>
        /// 目录个数
        /// </summary>
        public int SubFolderCount
        { get; set; }

        #endregion
    }
}
